//
//  FuncButton.swift
//  Calculator
//
//  Created by 白瑾浩 on 2022/1/12.
//

import UIKit

class FuncButton: UIButton {

    init(){
        super.init(frame: CGRect.zero)
        layer.borderColor = UIColor(red: 219/255.0, green: 219/255.0, blue: 219/255.0, alpha: 1.0).cgColor //UIColor.orange.cgColor
        
        layer.borderWidth = 1
        
        setTitleColor(UIColor.orange, for: UIControl.State.normal)
        titleLabel?.font = UIFont.systemFont(ofSize: 25)
        setTitleColor(UIColor.black, for: UIControl.State.highlighted)
    }
    
    required init?(coder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
}
